<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/taglib/jstl.jsp" %>

<div style="margin:2px 2px 2px 2px;">
	<table class="left-table">
	<tr>
		<td class="cdTitleTd">코드 유형</td>
		<td class="cdContsTd">${cdInfo.cdTpAlias} (${cdInfo.cdTpId})</td>
	</tr>
	<tr>
		<td class="cdTitleTd" style="height:44px;"><p>코드 생성 규칙</p></td>
		<td class="cdContsTd">
			<c:choose>
				<c:when test="${not empty cdInfo.cdRegExpr}"><p>${cdInfo.cdRegExpr}</p></c:when>
				<c:otherwise><p>None</p></c:otherwise>
			</c:choose>
		</td>
	</tr>
	<tr>
		<td class="cdTitleTd">코드</td>
		<td class="cdContsTd">${cdInfo.cdId}</td>
	</tr>
	<tr>
		<td class="cdTitleTd">코드 명칭</td>
		<td class="cdContsTd">${cdInfo.cdAlias}</td>
	</tr>
	<tr>
		<td class="cdTitleTd">사용 여부</td>
		<td class="cdContsTd">${cdInfo.cdUseYN}</td>
	</tr>
	<tr>
		<td class="cdTitleTd">설명</td>
		<td class="cdContsTd">
			<div style="margin-left:margin:2px 0px 2px 10px; 
				text-indent:0px; height:80px; overflow-y:auto;">${cfn:chgHtmlNewLine(cdInfo.cdDesc) }</div>
		</td>
	</tr>
	</table>
</div>
<div class="cdBtnsDiv"><input type="button" id="jqwCloseBtn" value="닫기" /></div>

<script type="text/javascript" src="/resources/js/views/template/system/code/_detail.js"></script>